﻿using System.Collections.ObjectModel;

namespace KouDai.Phone.Utils
{
    public class GroupCollection<T> : ObservableCollection<T>
    {
        public GroupCollection(string name)
        {
            this.Title = name;
        }

        public string Title { get; set; }

        public bool HasItems 
        {
            get
            {
                return (Count != 0);
            }
            private set { }
        }
    }
}
